<template>
    <div>
        <h1 style="text-align: center;"><div>科室:{{department}}<br>医生:{{name}}</div>挂号费:{{price}}元</h1>
        <center><img style="width: 400px;height: 400px;" src="../img/Code.jpg"></center>

    </div>
</template>

<script>
    export default {
        name: "QRCode",
        data(){
            return{
                price:'',
                department:'',
                name:'',
            }
        },
        mounted() {
            this.price=this.$route.params.price;
            this.name=this.$route.params.name;
            this.department=this.$route.params.department;
        }
    }
</script>

<style scoped>

</style>